package cn.sccdlg.zdy.domain;

import java.util.Date;

/**
 * @author RaoShuang
 * @emil 991207823@qq.com
 * @date 2020/10/10 21:40
 * 用户实体类
 */
public class User {
    /**
     * 用户标识
     */
    private Integer id;
    /**
     * 用户名
     */
    private String username;
    /**
     * 出生日期
     */
    private Date birthday;
    /**
     * 性别
     */
    private String sex;
    /**
     * 家庭住址
     */
    private String address;

    public Integer getId() {
        return id;
    }

    public void setId(Integer id) {
        this.id = id;
    }

    public String getUsername() {
        return username;
    }

    public void setUsername(String username) {
        this.username = username;
    }

    public Date getBirthday() {
        return birthday;
    }

    public void setBirthday(Date birthday) {
        this.birthday = birthday;
    }

    public String getSex() {
        return sex;
    }

    public void setSex(String sex) {
        this.sex = sex;
    }

    public String getAddress() {
        return address;
    }

    public void setAddress(String address) {
        this.address = address;
    }

    @Override
    public String toString() {
        return "User{" + "id=" + id + ", username=" + username + ", birthday="
                + birthday + ", sex=" + sex + ", address=" + address + '}';
    }
}
